package org.zjx.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("screen")
public class Screen implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 场景表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *  场景名称
     */
    private String name;

    /**
     *  场景大小-X
     */
    private int sizeX;

    /**
     *  场景大小-Y
     */
    private int sizeY;

    /**
     * 是否有野怪 0 没有 1有
     */
    private Boolean encounters;


}
